﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucGetByCate.ascx.cs" Inherits="TTMarketing.CameraUserControl.DownloadTaiLieu.ucGetByCate" %>
<table width="100%">
    <tr>
        <td>
        
        
<asp:ObjectDataSource ID="odsFile" runat="server" SelectMethod="getByCate" 
    TypeName="TTBusiness.ClassDB.clsBSFileUpload">
    <SelectParameters>
        <asp:QueryStringParameter Name="cateid" QueryStringField="cateid" 
            Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>
<telerik:RadListView ID="RadListView1" runat="server" DataSourceID="odsFile" 
    BorderWidth="0px" ItemPlaceholderID="ph" AllowPaging="True" PageSize="15" 
    Width="100%">
    <LayoutTemplate>
        <asp:PlaceHolder runat="server" id="ph" />
    </LayoutTemplate>
    <ItemTemplate>
         <table width="100%" id="News-l">
            <tr>
                <td align="left" valign="top">
                    
                    
                    <asp:Label ID="Label1" runat="server" 
                        style="font-size: large; font-weight: 700; color: #FF9900" 
                        Text='<%# Eval("Title") %>'></asp:Label>
                    
                    
                    </td>
            </tr>
             <tr>
                 <td align="left" >
                     <asp:Label ID="Label2" runat="server" Text='<%# Eval("Summary") %>'></asp:Label>
                     </td>
             </tr>
             <tr>
                 <td align="right">
                     <a href="<%# "/Image/File/"+Eval("FileName") %>">
                     <asp:Image ID="Image1" runat="server" ImageUrl="~/Styles/Images/download.gif" />
                         </a>
                 </td>
                 
             </tr>
        </table>
        <hr size="1px" />
    </ItemTemplate>
    <EmptyDataTemplate>
        <div class="RadListView RadListView_Default">
            <div class="rlvEmpty">
                Dữ liệu đang cập nhật</div>
        </div>
    </EmptyDataTemplate>
    
</telerik:RadListView>
</td>
    </tr>
    <tr>
        <td>
        
<div id="pageing">
<telerik:RadDataPager ID="RadDataPager1" runat="server" 
    PagedControlID="RadListView1" BackColor="White" BorderStyle="None" 
    PageSize="10" Skin="Sitefinity" Width="90%">
    <Fields>
        <telerik:RadDataPagerSliderField />
        <telerik:RadDataPagerPageSizeField />
    </Fields>
</telerik:RadDataPager>
</div></td>
    </tr></table>